﻿using System.Collections.Generic;
using IQIGame.Onigao.Framework;
using LFloatMath.Math;

namespace IQIGame.Onigao.Logic
{
    public class TargetSelect_Self : TargetSelect
    {
        public override ETargetSelectType selectType => ETargetSelectType.Self;
       
        public override void TrySelect(SelectParam rParam, LVector2 rSelfPos, ref List<Unit> rTargets)
        {
            rTargets.Add(this.self);
        }

        public override void Free()
        {
            ClassPool.Put(this);
        }
    }
}